package com.dty.task;



import com.dty.dtycompute.controller.RealTimeDataController;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;


@Component
public class TaskEcaWeb {

    @Resource
    RealTimeDataController timeDataController;

    @Scheduled(cron="0 0/5 * * * ?")
    public void tempBillMonitor(){
            timeDataController.timeFun();
    }

}
